﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Frost {
    public static class EnumerableExtensions {
        public static IEnumerable<T> Each<T>(this IEnumerable<T> collection, Action<T> d) {
            foreach (var o in collection)
                d(o);

            return collection;
        }

    }
}
